
package com.be.beadmin.device.repository;

import cn.hutool.core.date.DateTime;
import com.be.beadmin.device.entity.EhsInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
* @author zty
* @date 2023-08-13
**/
public interface EhsInfoRepository extends JpaRepository<EhsInfo, String>, JpaSpecificationExecutor<EhsInfo> {

    EhsInfo findEhsInfoByIdAndDelete(String id, Integer delete);

    EhsInfo findEhsInfoById(String id);

}